package com.designpattern.createpattern.demo07.builder.builder;

import com.designpattern.createpattern.demo07.builder.product.Bike;

public abstract class Builder {
    //创建产品对象,并赋值
    //由于实现类需要直接使用bike属性，所以需要定义为protected
    protected Bike bike = new Bike();
    public abstract void buildFrame();
    public abstract void buildSeat();
    public abstract Bike createBike();
}
